package com.xd.core.system.mapper;

import com.xd.core.system.entity.DatasourceInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.Map;

/**
 * <p>
 * 数据源配置 Mapper 接口
 * </p>
 *
 * @author ZX
 * @since 2024-12-26
 */
public interface DatasourceInfoMapper extends BaseMapper<DatasourceInfo> {

    Map<String,String> getTable(String tableName);

    void createTable(String createTable, String tableName);

    void deleteCityAndDic();

    void deleteDatabase(String name);
}
